﻿using System;
using System.ComponentModel.DataAnnotations;
using WeBlog.Interfaces;

namespace WeBlog.Models
{
    public class Widget : IModel
    {
        [Key]
        public int WidgetId { get; set; }

        [StringLength(50)]
        public string Name { get; set; }

        public int? Column { get; set; }
        
        public int? Row { get; set; }

        [StringLength(50)]
        public string Title { get; set; }

        public bool ShowTitle { get; set; }

        public string Settings { get; set; }
    }
}
